﻿@model IEnumerable<BugTracker.Models.Project>
@{
    ViewBag.Title = "Project";
    Layout = "~/Views/Shared/_LayoutProjectManager.cshtml";
    
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<fieldset>


<p align="right">
<a href="CreateProject">
<input type = "submit" value = "Create New Project" /></a>
</p>
<br />
<center><p>Status Legend:&nbsp;&nbsp; &nbsp; &nbsp;  1-OPEN &nbsp;&nbsp; &nbsp; &nbsp;   2-ONGOING &nbsp;&nbsp; &nbsp; &nbsp;   3-COMPLETED</p></center>

@using (Ajax.BeginForm("Project", "ProjectManager", new AjaxOptions
{
    HttpMethod = "GET",
    InsertionMode = InsertionMode.Replace,
    UpdateTargetId = "webgrid"
}))
{

}

<div id="webgrid">
@Html.Partial("_Project")
</div>

<br />


</fieldset>